﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class KbCategoryBase
    {
        #region 内部变量
        private string categoryid = "{00000000-0000-0000-0000-000000000000}";
        private string categorynumber = "";
        private string categoryname = "";
        private string code = "";
        private int lineNum;
        private string description = "";
        private string parentid = "{00000000-0000-0000-0000-000000000000}";
        private int layer;
        private DateTime createdon;
        private string createdby = "{00000000-0000-0000-0000-000000000000}";
        private DateTime modifiedon;
        private string modifiedby = "{00000000-0000-0000-0000-000000000000}";
        private string tags = "";
        private string objectloweredname = "";
        private bool isprotected;
        private int categorytype;
        private string pictures = "";
        #endregion

        public KbCategoryBase() { }

        #region 公共属性
        /// <summary>
        /// 
        /// </summary>
        public string CategoryId
        {
            set { categoryid = value; }
            get { return categoryid; }
        }
        /// <summary>
        /// 数据编号 
        /// </summary>
        public string CategoryNumber
        {
            set { categorynumber = value; }
            get { return categorynumber; }
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string CategoryName
        {
            set { categoryname = value; }
            get { return categoryname; }
        }
        /// <summary>
        /// 代码
        /// </summary>
        public string Code
        {
            set { code = value; }
            get { return code; }
        }
        /// <summary>
        /// 序号
        /// </summary>
        public int LineNum
        {
            set { lineNum = value; }
            get { return lineNum; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            set { description = value; }
            get { return description; }
        }
        /// <summary>
        /// 父亲节点
        /// </summary>
        public string ParentId
        {
            set { parentid = value; }
            get { return parentid; }
        }
        /// <summary>
        /// 层级
        /// </summary>
        public int Layer
        {
            set { layer = value; }
            get { return layer; }
        }
        /// <summary>
        /// 创建实践
        /// </summary>
        public DateTime CreatedOn
        {
            set { createdon = value; }
            get { return createdon; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy
        {
            set { createdby = value; }
            get { return createdby; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifiedOn
        {
            set { modifiedon = value; }
            get { return modifiedon; }
        }
        /// <summary>
        /// 修改人 
        /// </summary>
        public string ModifiedBy
        {
            set { modifiedby = value; }
            get { return modifiedby; }
        }
        /// <summary>
        /// 标签
        /// </summary>
        public string Tags
        {
            set { tags = value; }
            get { return tags; }
        }
        /// <summary>
        /// 关联页面地址
        /// </summary>
        public string ObjectLoweredName
        {
            set { objectloweredname = value; }
            get { return objectloweredname; }
        }
        /// <summary>
        /// 是否为保护目录，1 不允许删除
        /// </summary>
        public bool IsProtected
        {
            set { isprotected = value; }
            get { return isprotected; }
        }
        /// <summary>
        /// 类别类型
        /// </summary>
        public int CategoryType
        {
            set { categorytype = value; }
            get { return categorytype; }
        }
        /// <summary>
        /// 类别图片
        /// </summary>
        public string Pictures
        {
            set { pictures = value; }
            get { return pictures; }
        } 
        #endregion
    }
}
